import request from '/@/utils/request';
enum Api {
	Pagecms_Label = '/api/cms_PartType/page',
	Addcms_Label = '/api/cms_PartType/add',
	Editcms_Label = '/api/cms_PartType/update',
	Delcms_Label = '/api/cms_PartType/delete',
	getcms_Label = '/api/cms_PartType/getCms_PartType',
}
/**获取分页 */
export const Pagecms_Label = (params?: any) =>
	request({
		url: Api.Pagecms_Label,
		method: 'post',
		data: params,
	});
// 增加
export const Addcms_Label = (params?: any) =>
	request({
		url: Api.Addcms_Label,
		method: 'post',
		data: params,
	});

/**修改 */
export const Editcms_Label = (params?: any) =>
	request({
		url: Api.Editcms_Label,
		method: 'post',
		data: params,
	});
/**删除 */
export const Delcms_Label = (params?: any) =>
	request({
		url: Api.Delcms_Label,
		method: 'post',
		data: params,
	});
/**获取类型 */
export const getcms_Label = (params?: any) =>
	request({
		url: Api.getcms_Label,
		method: 'post',
		data: params,
	});
